package com.newviews.tcmip.service.inf;

import com.newviews.tcmip.common.model.PageModel;
import com.newviews.tcmip.common.model.ResultModel;
import com.newviews.tcmip.pojo.po.EtcmHerbIngrPo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.newviews.tcmip.web.vo.etcmpx.PxIngrStatisticsRespVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 中草药-成分关系表 服务类
 * </p>
 *
 * @author lxc
 * @since 2024-03-08
 */
public interface EtcmHerbIngrServiceInf extends IService<EtcmHerbIngrPo> {

    ResultModel<PageModel<Map<String, String>>> getPageByIngr(String langCode, String uiTypeCode, Integer pageNo, Integer pageSize, String content, String ingrBbb, String ingrCaco2, String ingrHia, String ingrHob, String sortType);

    ResultModel<PxIngrStatisticsRespVo> getIngredientStatistics(String content, String langCode);

    List<Map<String, String>> downloadAdmet(String ingrHia, String ingrHob, String ingrBbb, String ingrCaco2, String uiTypeCode, String langCode, String sortType,String content);
}
